home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-06-19 | 964 b | 42 lines |
- package symantec.itools.awt.util.spinner;
-
-
- import symantec.itools.awt.ListSpinner;
-
-
- /**
- * Day of the week spin control.<br>
- * Creates a text box, containing a list of the days of the week,
- * with up and down arrows. Allows your user
- * to move through a set of fixed values or type a valid value in the box.
- *
- * @see symantec.itools.awt.ListSpinner
- *
- * @version 1.0, Nov 26, 1996
- *
- * @author Symantec
- *
- */
-
-
- public class DaySpinner
- extends ListSpinner
- {
- /**
- * Construct DaySpinner component. This component includes
- * the weekdays in the order Sunday through Saturday. By default,
- * the inial display of this component is the item "Sunday".
- */
-
- public DaySpinner()
- {
- addItem("Sunday");
- addItem("Monday");
- addItem("Tuesday");
- addItem("Wednesday");
- addItem("Thursday");
- addItem("Friday");
- addItem("Saturday");
- }
- }
-